package com.hotel.common.user.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 用户积分表
 * </p>
 *
 * @author mz
 * @since 2024-06-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("user_level")
public class Level implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * 积分表id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 用户id
     */
    private Integer userId;

    /**
     * 等级
     */
    private Integer level;

    /**
     * 等级称号
     */
    private String name;

    /**
     * 当前积分成长值
     */
    private Integer growths;

    /**
     * 创建时间
     */
    private Date ctime;


}
